<template>
  <el-select
    v-model="value"
    clearable
    :placeholder="placeholder"
    @change="valueChange"
  >
    <el-option
      v-for="item in options"
      :key="item.value"
      :label="item.label"
      :value="item.label"
    >
    </el-option>
  </el-select>
</template>
<script>
export default {
  data() {
    return {
      value: "",
    };
  },
  props: {
    options: Array,
    placeholder:String
  },
  methods: {
    valueChange() {
      this.$emit("blur", this.value);
    },
    dian() {
      console.log("dianji");
    },
  },
};
</script>

<style lang="scss" scoped>
</style>